import React from 'react';
import {View} from 'react-native';
import WebView from "react-native-webview";

export default class PickLink extends React.Component {
    uri = 'https://m.v.qq.com/index.html';
    webDidLoad = false;

    constructor(props) {
        super(props);
        this.state = {};
    }

    componentDidMount(): void {

    }

    render(): React.ReactNode {
        return <WebView
            source={{uri: this.uri}}
            onShouldStartLoadWithRequest={request => {
                return false;
            }}
            onLoadEnd={()=>{
                this.webDidLoad = true;
                console.info('webviewdidload')
            }}
        />;
    }

}
